package com.youhome.service.service.impl;

import com.youhome.service.mapper.ZillowTestLogsMapper;
import com.youhome.service.model.ZillowTestLogs;
import com.youhome.service.service.ZillowTestLogsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;

/**
 * Created by chen365 on 2018/11/20.
 */
@Service
public class ZillowTestLogsServiceImpl implements ZillowTestLogsService {
    @Autowired
    private ZillowTestLogsMapper zillowTestLogsMapper;

    @Override
    public int insertSelective(ZillowTestLogs record) {
        record.setCreateTime(new Date());
        return zillowTestLogsMapper.insertSelective(record);
    }
}
